package com.yhq.yhqproject.base.modules.base.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Document(collection = "t_error_log")
@NoArgsConstructor
@Data
public class ErrorLog implements Serializable
{
    @Id
    private String id;
    private String serverName;
    private String serverIp;
    private String level;
    private String thread;

    private String className;
    private String message;
    private Long createTime;
}
